package com.example.springboot2022nocv.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.springboot2022nocv.entity.Role;

import java.util.List;

/**
 * @author 程序员小洋
 * @version 2022.3
 * @date 2022/12/29 12:42
 * @title
 */
@SuppressWarnings("all")
public interface RoleService extends IService<Role> {

    List<Integer> queryAllPermissions(Integer roleId);

    void deleteRoleByRid(Integer rid);

    void saveRoleMenu(Integer rid, Integer mid);

    List<Integer> queryUserRoleById(Integer id);
}
